package com.hyacinth.lotterysystem.dto.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class CreatePrizeReq {
    @NotBlank(message = "奖品名称不能为空")
    private String name;
    private String description;
    @NotNull(message = "奖品价格不能为空")
    private BigDecimal price;
}
